package com.gzsxy.sso.common.dto.response;

import com.gzsxy.sso.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author xiaolong
 * @version 1.0
 * @description: 功能权限
 * @date 2021/11/18 15:27
 */
@Data
@ApiModel
public class FunctionRsp extends BaseEntity  {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "应用id")
    private String appId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "标识")
    private String mark;

    @ApiModelProperty(value = "URL地址")
    private String url;

    @ApiModelProperty(value = "级别")
    private Integer level;

    @ApiModelProperty(value = "是否禁用（0否1是）")
    private boolean isDisabled;

    @ApiModelProperty(value = "排序id")
    private Integer orderId;




    @ApiModelProperty(value = "下级功能")
    private List<FunctionRsp> children = new ArrayList<>();   //二级目录



}
